package com.maxvision.mybatis.enums;

public enum RoleEnum {
    
    ROOT_ADMIN("root", "↑↑↓↓←←→→"),
    TEST_ROOT_ADMIN("test","测试人员权限"),
    DEV_ROOT_ADMIN("dev", "开发人员权限");
    
    private final String roleName;
    private final String authority;


    RoleEnum(String roleName, String authority) {
        this.roleName = roleName;
        this.authority = authority;
    }

    public String getRoleName() {
        return roleName;
    }

    public String getAuthority() {
        return authority;
    }
    
    public String op(){
        
        return this.getRoleName() + this.getAuthority();
    }
}
